package com.neuedu.weishi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
/**
* Author lu
* Date  2025-08-26 09:10:59
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("complaint")
@TableName(value = "complaint")
public class Complaint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *主键自增长
    */
    @TableField(value = "comp_id")
    @TableId(type = IdType.AUTO)
    private Integer compId;

    /**
    * 视频ID
    */
    @TableField(value = "video_id")
    private Integer videoId;
    /**
    * 评论ID
    */
    @TableField(value = "comment_id")
    private Integer commentId;
    /**
    * 回复ID
    */
    @TableField(value = "reply_id")
    private Integer replyId;
    /**
    * 投诉原因
    */
    @TableField(value = "comp_reason")
    private String compReason;
    /**
    * 投诉会员ID
    */
    @TableField(value = "comp_member_id")
    private Integer compMemberId;
    /**
    * 投诉时间
    */
    @TableField(value = "comp_time")
    private Date compTime;
}